export default (app) => {
  // app.config.globalProperties.$name = 'code'
  app.directive('color', {
    created(el, binding, vnode) {
      el.style.color = binding.value
    }
  })

  app.directive('focus', {
    mounted(el, binding, vnode, prevVNode) {
      el.focus()
    }
  })
}
